var app = getApp();
Page({
    data: {
        dklist:{},
        fopenid:'',
        fid:''
    },
    onLoad: function(n) {
       var self = this,b_openid = n.b_openid,f_id=n.f_id;
       console.log(n.b_openid);
       self.setData({
        fopenid:b_openid,
        fid:f_id
       });
       self.getdkList();
    },
    getdkList:function(){
        var self = this;
        app.util.request({
            url: "entry/wxapp/Dakalist",
            data: {
                openid: self.data.fopenid,
                f_id: self.data.fid
            },
            success: function(n) {
                self.setData({
                    dklist:n.data.data
                });
            }
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});